package entities;

import java.util.Date;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.Table;

import abstractEntities.AbstractTeam;

/**
 * Team entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "team", catalog = "skillworld")
public class Team extends AbstractTeam implements java.io.Serializable {

	// Constructors

	/**
	 * 
	 */
	private static final long serialVersionUID = -2430698436024331916L;

	/** default constructor */
	public Team() {
	}

	/** minimal constructor */
	public Team(Departament departamentByIdDepartament2,
			Departament departamentByIdDepartament3, User user,
			Departament departamentByIdDepartament1, String teamName,
			Integer totalPoints, String infoText, Date heldDate) {
		super(departamentByIdDepartament2, departamentByIdDepartament3, user,
				departamentByIdDepartament1, teamName, totalPoints, infoText,
				heldDate);
	}

	/** full constructor */
	public Team(Departament departamentByIdDepartament2,
			Departament departamentByIdDepartament3, User user,
			Departament departamentByIdDepartament1, String teamName,
			String teamImg, Integer totalPoints, String infoText,
			Date heldDate, Set<Teamranking> teamrankingsForIdTeam2,
			Set<Teamranking> teamrankingsForIdTeam1,
			Set<Teamranking> teamrankingsForIdTeam5, Set<Userteam> userteams,
			Set<Teamranking> teamrankingsForIdTeam4,
			Set<Teamranking> teamrankingsForIdTeam3) {
		super(departamentByIdDepartament2, departamentByIdDepartament3, user,
				departamentByIdDepartament1, teamName, teamImg, totalPoints,
				infoText, heldDate, teamrankingsForIdTeam2,
				teamrankingsForIdTeam1, teamrankingsForIdTeam5, userteams,
				teamrankingsForIdTeam4, teamrankingsForIdTeam3);
	}

}
